export let baseUrl =
  REACT_APP_ENV === "prod" ?
    {
      ws: 'wss://kid.iqidao.com/api/app-admin/ws',
      http: 'https://kid.iqidao.com/api',
      avatarUrl: 'https://www.iqidao.com',
      login: 'https://kid.iqidao.com/host/',
      upm: 'https://upm.iqidao.com/api',
      webview: 'https://kid.iqidao.com/web/gospirit_webview',
      kid: 'https://kid.iqidao.com',
    }
    :
    REACT_APP_ENV === "test" ?
      {
        ws: 'wss://alitest-kid.iqidao.com/api/app-admin/ws',
        http: 'https://alitest-kid.iqidao.com/api',
        avatarUrl: 'https://test.iqidao.com',
        login: 'https://alitest-kid.iqidao.com/host/',
        upm: 'https://alitest-upm.iqidao.com/api',
        webview: 'https://alitest-kid.iqidao.com/web/gospirit_webview',
        kid: 'https://alitest-kid.iqidao.com',
      }
      :
      REACT_APP_ENV === "dev" ?
        {
          ws: 'wss://alidev-kid.iqidao.comdao.com/api/app-admin/ws',
          http: 'https://alidev-kid.iqidao.com/api',
          avatarUrl: 'https://dev.iqidao.com',
          login: 'https://alidev-kid.iqidao.com/host/',
          upm: 'https://alidev-upm.iqidao.com/api',
          webview: 'https://alidev-kid.iqidao.com/web/gospirit_webview',
           kid: 'https://alidev-kid.iqidao.com',
        }
        : {
          ws: 'wss://alidev-kid.iqidao.comdao.com/api/app-admin/ws',
          http: 'https://alidev-kid.iqidao.com/api',
          avatarUrl: 'https://dev.iqidao.com',
          login: 'https://alidev-kid.iqidao.com/host/',
          upm: 'https://alidev-upm.iqidao.com/api',
          webview: 'https://alidev-kid.iqidao.com/web/gospirit_webview',
          kid: 'https://alidev-kid.iqidao.com',
        }
